<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="datetimepicker/datetimepicker_css.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Update Student</title>
</head>
<body>
	<s:form action="updateStudentAction">
		<s:hidden name="studentId" value="%{student.studentId}"/>
		<s:textfield name="studentName" label="Name" value="%{student.studentName}" />
		<s:textfield name="address" label="Address" value="%{student.address}" cols="50"
			rows="5" />
		<s:textfield name="email" label="Email" value="%{student.email}" cols="50" rows="5" />
		<s:textfield name="dateOfBirth" label="Date of Birth" 
			cols="50" rows="5" id="date" />
		<tr>
			<td><img alt="" src="datetimepicker/images2/cal.gif"
				onclick="javascript:NewCssCal('date')" style="cursor: pointer" /></td>
		</tr>
		<s:select label="Class" headerKey="-1" headerValue="Select Class"
			name="className" list="listClass" ></s:select>
		<s:submit />

	</s:form>
</body>
</html>